﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Jzy.UI.Web.Areas.Forum.BaseCode;
using Jzy.BLL.Forum;
using Jzy.UI.Web.Areas.Forum.Models;
using Jzy.Model.Forum;
using System.Text;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;

namespace Jzy.UI.Web.Areas.Forum.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Forum/Home/

        public ActionResult Index()
        {
            ForumBoardBO board = new ForumBoardBO();
            HomeModel model = new HomeModel();
            model.Boards = board.GetList().Where(T => T.State == (int)ForumBoardState.显示);
            return View(ForumPath.Views + "Home/Index.aspx", model);
        }
    }
}
